2023年6月7日 — Open a terminal on your macOS. · Locate the XAMPP installation directory. By default, it is installed in the “/Applications/XAMPP” directory.
PHP has been removed in macOS Monterey. ... This is a giant step backwards. One of the nice things about macOS is the built in apache including PHP. Please ...
In Terminal, type in which php again and look for the updated string. If everything was successful, It should output the new path to XAMPP PHP install.
2018年2月2日 — The location of your Homebrew installed php should be /usr/local/Cellar/php72. These are the steps you need to do to setup your PHP on macOS.